These errors occur when your code attempts to set a property at an invalid time or uses invalid data.
These errors should be intercepted with an On Error statement in Visual Basic. Trappable errors not handled in this way cause Visual Basic to break into design mode (if in the design environment), or cause your application to terminate (if running in a compiled application), with a message User Defined Error. The error code is accessible using the built-in Err variable.
EXAMPLE
On Error Goto ErrorFound
GetDigits1.GotoNode(5) = 5
Exit Sub
ErrorFound:
Debug.Print "Error detected" + Str$(Err)
End Sub
View a list of Trappable Error Codes and their descriptions.